package com.supersoul.myself.service;

import com.supersoul.myself.entity.Comment;
import com.supersoul.myself.entity.User;
import com.supersoul.myself.ex.ServiceException;
import com.supersoul.myself.util.PageVO;
import org.springframework.data.domain.Page;

import java.util.List;

public interface CommentService {
    String saveComment(Comment comment, User user) throws ServiceException;

    Page<Comment> getBlog(String blogId, PageVO pageVO) throws ServiceException;
}
